package com.chixing.day06;

public class Account {
    private long accountNum;//    账户账号
    private String accountName;//    账户姓名
    private String accountPersonId;//    账户身份证
    private long accountTelno;  //    账户手机号
    private float accountBalance;//    账户余额
    private String accountPassword; //    账户密码

    public Account(){}
    public Account(long accountNum, String accountName, String accountPersonId, long accountTelno, float accountBalance, String accountPassword) {
        this.accountNum = accountNum;
        this.accountName = accountName;
        this.accountPersonId = accountPersonId;
        this.accountTelno = accountTelno;
        this.accountBalance = accountBalance;
        this.accountPassword = accountPassword;
    }
    public long getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(long accountNum) {
        this.accountNum = accountNum;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountPersonId() {
        return accountPersonId;
    }

    public void setAccountPersonId(String accountPersonId) {
        this.accountPersonId = accountPersonId;
    }

    public long getAccountTelno() {
        return accountTelno;
    }

    public void setAccountTelno(long accountTelno) {
        this.accountTelno = accountTelno;
    }

    public float getAccountBalance() {
        return accountBalance;
    }

    public void setAccountBalance(float accountBalance) {
        this.accountBalance = accountBalance;
    }

    public String getAccountPassword() {
        return accountPassword;
    }

    public void setAccountPassword(String accountPassword) {
        this.accountPassword = accountPassword;
    }

    //    存款
    public float deposit(float money){
        return 0;
    }
    //    取款
    public float withdraw(float money){
        return 0;
    }


}
